package cn.huiyunche.base.service.vo;

import cn.huiyunche.base.service.model.CWaybillTrail;
import cn.huiyunche.base.service.model.SServiceOrderStatusLog;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class SServiceOrderTrailVo {
    private Long id;

    private Long customerOrderId;

    private Long userId;

    private String orderCode;

    private Long departAddrId;

    private Long receiptAddrId;

    private BigDecimal distance;

    private Integer amount;

    private BigDecimal cost;

    private Integer status;

    private String currentAddr;

    private BigDecimal estValue;

    private Integer orderType;

    private Integer dispatchTimes;

    private Date createTime;

    private Date updateTime;

    // 物流信息
    private List<CWaybillTrail> trails;

    // 服务订单日志记录
    private List<SServiceOrderStatusLog> logs;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCustomerOrderId() {
        return customerOrderId;
    }

    public void setCustomerOrderId(Long customerOrderId) {
        this.customerOrderId = customerOrderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getDepartAddrId() {
        return departAddrId;
    }

    public void setDepartAddrId(Long departAddrId) {
        this.departAddrId = departAddrId;
    }

    public Long getReceiptAddrId() {
        return receiptAddrId;
    }

    public void setReceiptAddrId(Long receiptAddrId) {
        this.receiptAddrId = receiptAddrId;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCurrentAddr() {
        return currentAddr;
    }

    public void setCurrentAddr(String currentAddr) {
        this.currentAddr = currentAddr;
    }

    public BigDecimal getEstValue() {
        return estValue;
    }

    public void setEstValue(BigDecimal estValue) {
        this.estValue = estValue;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getDispatchTimes() {
        return dispatchTimes;
    }

    public void setDispatchTimes(Integer dispatchTimes) {
        this.dispatchTimes = dispatchTimes;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<CWaybillTrail> getTrails() {
        return trails;
    }

    public void setTrails(List<CWaybillTrail> trails) {
        this.trails = trails;
    }

    public List<SServiceOrderStatusLog> getLogs() {
        return logs;
    }

    public void setLogs(List<SServiceOrderStatusLog> logs) {
        this.logs = logs;
    }

    @Override
    public String toString() {
        return "SServiceOrderTrailVo [id=" + id + ", customerOrderId=" + customerOrderId + ", userId=" + userId
                + ", orderCode=" + orderCode + ", departAddrId=" + departAddrId + ", receiptAddrId=" + receiptAddrId
                + ", distance=" + distance + ", amount=" + amount + ", cost=" + cost + ", status=" + status
                + ", currentAddr=" + currentAddr + ", estValue=" + estValue + ", orderType=" + orderType
                + ", dispatchTimes=" + dispatchTimes + ", createTime=" + createTime + ", updateTime=" + updateTime
                + ", trails=" + trails + ", logs=" + logs + "]";
    }
}